
#ifndef __SSH_CLIENT_WRAPPER_H
#define __SSH_CLIENT_WRAPPER_H

#include "SSHClient.h"
#include "../db/KeyDB.h"
#include "../db/PendingDB.h"
#include "../db/NetworkDB.h"

/** Wrapper functions for common needs of automated SSH tools. */
namespace SSHClientWrapper
{
   void doRemoteKeyUpdates(SSHClient *isshcli, NetworkDB *inetdb, KeyDB *ikeydb,
      const char *ikeytag, const char *iusername, const char *isshusername, const char *ihostname,
      const char *isecretkeypwd);
   SSHClient *sshClientDefault(const char *ihostname, int iportno, apr_pool_t *imp,
      const char *ikeyprint, int ikeyprintlen, const char *irealservername, int irealserverport,
      PendingDB *ipendingdb, const char *iusername, NetworkDB *inetdb, KeyDB *ikeydb, const char *isecretkeypwd);
};

#endif
